package com.login.sotokensso2client;

import cn.dev33.satoken.sso.SaSsoManager;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@Slf4j
@SpringBootApplication
public class SoTokenSso2ClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(SoTokenSso2ClientApplication.class, args);
        log.info("---------------------- Sa-Token SSO 模式二 Client 端启动成功 ----------------------");
        log.info("配置信息：" + SaSsoManager.getClientConfig());
        log.info("测试访问应用端一: http://sa-sso-client1.com:9002");
        log.info("测试访问应用端二: http://sa-sso-client2.com:9002");
        log.info("测试访问应用端三: http://sa-sso-client3.com:9002");
        log.info("测试前需要根据官网文档修改 hosts 文件，测试账号密码：sa / 123456");
    }

}
